package com.book.modules.core.log.vo;

import com.book.modules.core.entity.DataEntity;
import com.book.modules.core.log.entity.LogInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* Description：操作日志 Entity
* @Author： leo.xiong
* @CreateDate： 2020-04-14
* @Email： leo.xiong@suyun360.com
* @Version:
*/
@Data
@ApiModel(value = "LogInfoVo", discriminator = "操作日志Vo", subTypes = {LogInfoVo.class})
public class LogInfoVo extends DataEntity<LogInfo> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键ID")
    private Long id;

    @ApiModelProperty(value="操作用户")
    private String username;

    @ApiModelProperty(value="操作内容")
    private String operation;

    @ApiModelProperty(value="耗时")
    private Long useTime;

    @ApiModelProperty(value="操作方法")
    private String method;

    @ApiModelProperty(value="方法参数")
    private String params;

    @ApiModelProperty(value="操作者IP")
    private String ip;

    @ApiModelProperty(value="操作地点")
    private String location;
}
